﻿using System;
using System.Linq.Expressions;

namespace Xc.Views.Core
{
    /// <summary>
    /// 启动特性标记
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class BootAttribute : Attribute
    {

        public BootAttribute() 
        { 

        }

        public BootAttribute(string applicationName, string applicationVersion = "V1.0.0.0")
        {
            ApplicationName = applicationName;
            ApplicationVersion = applicationVersion;
        }

        /// <summary>
        /// 应用程序名称
        /// </summary>
        public string ApplicationName { get; set; }
        /// <summary>
        /// 应用程序版本
        /// </summary>
        public string ApplicationVersion { get; set; } = "V1.0.0.0";
    }
}
